﻿@{
    ViewBag.Title = "Create Email Login Accounts";
}
<div class="centercontent">
    @using (Html.BeginForm("NewParents", "Account"))
    {
        @Html.AntiForgeryToken()
        <h4>Click Generate Registrations to send usernames and passwords to parents.</h4>
        <p>This will generate @ViewBag.NumAccounts accounts.</p>
        @*<div>
            <button type="submit" name="runthis" value="testreg" title="Test Generating Registrations">Test Generating Registrations</button>
        </div>*@
        <div>
            <button type="submit" name="runthis" value="runreg" title="Generate Registrations">Generate Registrations</button>
        </div>
        @Html.Raw(ViewBag.ResultMessage)
        @*<p>
                @Html.ActionLink("Register as a new user", "Register")
            </p>*@
        @* Enable this once you have account confirmation enabled for password reset functionality *@

    }
</div>